<?php
/**
 * invite_reward.php 邀请好友打卡返现规则
 *
 * @author camfee <camfee@foxmail.com>
 * @date   17-9-7 下午3:59
 *
 */

use Center\CashLog;

return [
    'invite' => [ // 好友
        'cash' => 20,  // ￥ 元
        'first_str' => '邀请好友获得奖励',
        'second_str' => '',
    ],
    'invite_reward' => [ // 好友奖励返现
        'first_str' => '邀请的好友',
        'second_str' => '累计%s次连续2天打卡称重奖励。',
    ],
    'subinvite' => [ // 好友的好友
        'cash' => 10, // ￥ 元
        'first_str' => '好友邀请好友获得奖励',
        'second_str' => '',
    ],
    'subinvite_reward' => [ // 好友的好友奖励返现
        'first_str' => '好友邀请的好友',
        'second_str' => '累计%s次连续2天打卡称重奖励。',
    ],
    'invite_reward_list' => [ // 邀请好友实际奖励金额
        CashLog::STATUS_INVITE_ONE => 1, //  好友返现金额 =>获得实际邀请奖励金额
        CashLog::STATUS_INVITE_THREE => 2,
        CashLog::STATUS_INVITE_FIVE => 3,
        CashLog::STATUS_INVITE_SEVEN => 4,
        CashLog::STATUS_INVITE_ALL => 10,
    ],
    'subinvite_reward_list' => [ // 好友邀请好友实际奖励金额
        CashLog::STATUS_INVITE_ONE => 1,  // 好友的好友返现金额 => 获得实际邀请奖励金额
        CashLog::STATUS_INVITE_THREE => 1,
        CashLog::STATUS_INVITE_FIVE => 1,
        CashLog::STATUS_INVITE_SEVEN => 1,
        CashLog::STATUS_INVITE_NINE => 1,
        CashLog::STATUS_INVITE_ALL => 5
    ],
];